package com.kgc.service.edu.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.kgc.service.edu.entity.LoginUser;
import com.kgc.service.edu.entity.SieUserDescription;
import com.kgc.service.edu.mapper.LoginUserMapper;
import com.kgc.service.edu.mapper.SieUserDescriptionMapper;
import com.kgc.service.edu.service.LoginUserService;
import org.springframework.stereotype.Service;

@Service
public class LoginUserServiceImpl extends ServiceImpl<LoginUserMapper, LoginUser> implements LoginUserService {

    private LoginUserMapper loginUserMapper;

    public LoginUserServiceImpl(LoginUserMapper loginUserMapper) {
        this.loginUserMapper = loginUserMapper;

    }

    @Override
    public LoginUser selByUser(LoginUser loginUser) {
        LoginUser loginUser1 = loginUserMapper.selectLogin(loginUser);
        System.out.println(loginUser1);
        return loginUser1;
    }
}
